package com.dayu.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 附件管理对象 basic_file
 * 
 * @author HK
 * @date 2021-04-15
 */
public class BasicFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件编号 */
    private Long fileId;

    /** 附件路径 */
    @Excel(name = "附件路径")
    private String filePath;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String fileName;

    /** 附件类型 */
    @Excel(name = "附件类型")
    private String fileType;

    /** 附件大小 */
    @Excel(name = "附件大小")
    private String fileSize;

    /** 使用模块 */
    @Excel(name = "使用模块")
    private String useModel;

    /** 文件描述 */
    @Excel(name = "文件描述")
    private String fileDescribe;
    @Excel(name = "排序")
    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getFileDescribe() {
        return fileDescribe;
    }

    public void setFileDescribe(String fileDescribe) {
        this.fileDescribe = fileDescribe;
    }

    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setFileSize(String fileSize) 
    {
        this.fileSize = fileSize;
    }

    public String getFileSize() 
    {
        return fileSize;
    }
    public void setUseModel(String useModel) 
    {
        this.useModel = useModel;
    }

    public String getUseModel() 
    {
        return useModel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("filePath", getFilePath())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("fileSize", getFileSize())
            .append("useModel", getUseModel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
